#pragma once

#include <source_location>
#include <iomanip>

#define LOG_HERE(msg) do { \
    const auto& loc = std::source_location::current(); \
    std::cout << std::left << std::setw(60) << msg << " [" << loc.function_name() << "]" << std::endl; \
} while(0)